package com.bootdo.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.blog.dao.AppearanceMapper;
import com.bootdo.blog.domain.AppearanceDO;
import com.bootdo.blog.service.AppearanceService;



@Service
public class AppearanceServiceImpl implements AppearanceService {
	@Autowired
	private AppearanceMapper appearanceMapper;
	
	@Override
	public AppearanceDO get(Integer appearanceId){
		return appearanceMapper.get(appearanceId);
	}
	
	@Override
	public List<AppearanceDO> list(Map<String, Object> map){
		return appearanceMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return appearanceMapper.count(map);
	}
	
	@Override
	public int save(AppearanceDO appearance){
		return appearanceMapper.save(appearance);
	}
	
	@Override
	public int update(AppearanceDO appearance){
		return appearanceMapper.update(appearance);
	}
	
	@Override
	public int remove(Integer appearanceId){
		return appearanceMapper.remove(appearanceId);
	}
	
	@Override
	public int batchRemove(Integer[] appearanceIds){
		return appearanceMapper.batchRemove(appearanceIds);
	}
	
}
